package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class MatchOddsRecord implements Serializable {
    private String morno;

    private String bno;

    private String erno;

    private String bomo;

    private String mot;

    private Date ortime;

    private String wodds;

    private String nodds;

    private String eodds;

    private Date ordate;

    private static final long serialVersionUID = 1L;

    public String getMorno() {
        return morno;
    }

    public void setMorno(String morno) {
        this.morno = morno;
    }

    public String getBno() {
        return bno;
    }

    public void setBno(String bno) {
        this.bno = bno;
    }

    public String getErno() {
        return erno;
    }

    public void setErno(String erno) {
        this.erno = erno;
    }

    public String getBomo() {
        return bomo;
    }

    public void setBomo(String bomo) {
        this.bomo = bomo;
    }

    public String getMot() {
        return mot;
    }

    public void setMot(String mot) {
        this.mot = mot;
    }

    public Date getOrtime() {
        return ortime;
    }

    public void setOrtime(Date ortime) {
        this.ortime = ortime;
    }

    public String getWodds() {
        return wodds;
    }

    public void setWodds(String wodds) {
        this.wodds = wodds;
    }

    public String getNodds() {
        return nodds;
    }

    public void setNodds(String nodds) {
        this.nodds = nodds;
    }

    public String getEodds() {
        return eodds;
    }

    public void setEodds(String eodds) {
        this.eodds = eodds;
    }

    public Date getOrdate() {
        return ordate;
    }

    public void setOrdate(Date ordate) {
        this.ordate = ordate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        MatchOddsRecord other = (MatchOddsRecord) that;
        return (this.getMorno() == null ? other.getMorno() == null : this.getMorno().equals(other.getMorno()))
            && (this.getBno() == null ? other.getBno() == null : this.getBno().equals(other.getBno()))
            && (this.getErno() == null ? other.getErno() == null : this.getErno().equals(other.getErno()))
            && (this.getBomo() == null ? other.getBomo() == null : this.getBomo().equals(other.getBomo()))
            && (this.getMot() == null ? other.getMot() == null : this.getMot().equals(other.getMot()))
            && (this.getOrtime() == null ? other.getOrtime() == null : this.getOrtime().equals(other.getOrtime()))
            && (this.getWodds() == null ? other.getWodds() == null : this.getWodds().equals(other.getWodds()))
            && (this.getNodds() == null ? other.getNodds() == null : this.getNodds().equals(other.getNodds()))
            && (this.getEodds() == null ? other.getEodds() == null : this.getEodds().equals(other.getEodds()))
            && (this.getOrdate() == null ? other.getOrdate() == null : this.getOrdate().equals(other.getOrdate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMorno() == null) ? 0 : getMorno().hashCode());
        result = prime * result + ((getBno() == null) ? 0 : getBno().hashCode());
        result = prime * result + ((getErno() == null) ? 0 : getErno().hashCode());
        result = prime * result + ((getBomo() == null) ? 0 : getBomo().hashCode());
        result = prime * result + ((getMot() == null) ? 0 : getMot().hashCode());
        result = prime * result + ((getOrtime() == null) ? 0 : getOrtime().hashCode());
        result = prime * result + ((getWodds() == null) ? 0 : getWodds().hashCode());
        result = prime * result + ((getNodds() == null) ? 0 : getNodds().hashCode());
        result = prime * result + ((getEodds() == null) ? 0 : getEodds().hashCode());
        result = prime * result + ((getOrdate() == null) ? 0 : getOrdate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", morno=").append(morno);
        sb.append(", bno=").append(bno);
        sb.append(", erno=").append(erno);
        sb.append(", bomo=").append(bomo);
        sb.append(", mot=").append(mot);
        sb.append(", ortime=").append(ortime);
        sb.append(", wodds=").append(wodds);
        sb.append(", nodds=").append(nodds);
        sb.append(", eodds=").append(eodds);
        sb.append(", ordate=").append(ordate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}